package com.qys.livesMall.shop.modal.dto;

import com.qys.livesMall.shop.modal.dto.shop.ShopScoreDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @packageName:
 * @className:OrderCommentDto
 * @Description:
 * @author:guomx
 * @date:2023/6/3013:47
 */
@Data
@Valid
public class OrderCommentDto {
    @NotNull
    @Schema(description = "订单OrderSkuID")
    private String orderId;
    @NotNull
    @Schema(description = "评论内容")
    private String content;
    @Schema(description = "评价图片")
    private String images;
    @NotNull
    @Schema(description = "评分1好评2差评")
    private String rating;
    @NotNull
    @Schema(description = "父级评论ID,顶级为0")
    private String parentId;
    @NotNull
    @Schema(description = "评分细则")
    private ShopScoreDTO shopScore;
}
